import http from '@/utils/http.js'

/**
 * 多文件上传
 * @param {string} fileList
 * @returns
 */
export function uploadFileListAPI(fileList) {
    return http.post(`/file/uploadList?fileList=${fileList}`);
}

/**
 * 文件上传
 * @param {file} file
 * @returns
 */
export function uploadFileAPI(file) {
    return http.post(`/file/upload`,file);
}